{% extends "base.html" %}

{% block content %}

{% if form.has_errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="POST" action="/register">
<table>
<tr><td><label for="id_username">Username:</label></td><td><input name="username" value="{{form.username}}"></td></tr>
<tr><td><label for="id_email">E-mail:</label></td><td><input name="email" value="{{form.email}}"></td></tr>
<tr><td><label for="id_password">Password:</label></td><td><input name="passwd"></td></tr>
<tr><td><label for="id_guildname">Guild:</label></td><td><input name="guildname" value="{{form.guildname}}"></td></tr>
</table>

<input type="submit" value="register" />
</form>

{% endblock %}